package com.example.waternetwork.api.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author auto gen
 * @since 2025-06-16
 */
@Data
@TableName("public.user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "id", type = IdType.AUTO)
    protected Long id;

    /**
     * 登录用户名
     */
    @TableField("username")
    protected String username;

    /**
     * 登录密码
     */
    @TableField("password")
    protected String password;

    /**
     * 登录密码
     */
    @TableField("name")
    protected String name;
}
